$def with (path=None)

$ path = request.path

$def link(url, title):
    $if url == path:
        <strong>$title</strong>
    $else:
        <a href="$url">$title</a>

<div class="superNav" id="adminLinks">
    $:link("/admin", _("Admin Center"))
    | $:link("/admin/people", _("People"))
    | $:link("/admin/block", _("Block IPs"))
    | $:link("/admin/spamwords", _("Spam Words"))
    | $:link("/admin/solr", _("Solr"))
    | $:link("/admin/imports", _("Imports"))
    <strong style="padding: 0px 5px">•</strong>
    $:link("/admin/graphs", _("Graphs"))
    | $:link("/admin/inspect/store", _("Inspect store"))
    | $:link("/admin/inspect/memcache", _("Inspect memcache"))
    <strong style="padding: 0px 5px">•</strong>
    $:link("/status", _("Status"))
</div>
